﻿using MG.Library.Models;

namespace MG.Library.Services;

public interface IFavoriteStorage
{
    bool IsInitialized { get; }

    Task InitializeAsync();

    Task<Favorite> GetFavoriteAsync(int mgId);

    Task<IEnumerable<Favorite>> GetFavoritesAsync();

    Task SaveFavoriteAsync(Favorite favorite);
}